#pragma once
#include "CPanel.h"

class CCanvas :
	public CPanel
{

protected: 
	CCanvas(CCoreServices * pCore);
	virtual ~CCanvas();
public: 
	static HRESULT Create(CDependencyObject * * ppObject, CREATEPARAMETERS * pCreate);
	virtual XBOOL GetIsLayoutElement();
protected: 
	virtual HRESULT MeasureOverride(struct XSIZEF availableSize, struct XSIZEF & desiredSize);
	virtual HRESULT ArrangeOverride(struct XSIZEF finalSize, struct XSIZEF & newFinalSize);
	virtual HRESULT UpdateLayoutClip(XUINT32 forceClipToRenderSize);
public: 
	virtual XUINT32 GetTypeIndex() const;


};
